Bookly\Lib\CartItem A

Total Complexity 71
Dependencies 13
Dependents 2
Total lines 671
Lines of code 238
Logical lines of code 119
Comment lines 282
Methods 48
Properties 17

Methods 48

Method Rating Maintainability Complexity Lines of code
getServicePriceWithoutExtras()
A
45 11 39
distributeExtrasAcrossSlots()
S
53 5 22
getDeposit()
S
58 5 14
toBePutOnWaitingList()
S
66 4 8
setData()
S
71 2 6
getExtrasDuration()
S
73 2 5
__construct()
S
98 1 1
getExtras()
S
82 1 3
setDateFrom()
S
77 1 4
getDays()
S
82 1 3
setDays()
S
77 1 4
getTimeFrom()
S
82 1 3
setTimeFrom()
S
77 1 4
getTimeTo()
S
82 1 3
setTimeTo()
S
77 1 4
setSlots()
S
77 1 4
setExtras()
S
77 1 4
getSlots()
S
82 1 3
setUnits()
S
77 1 4
getCustomFields()
S
82 1 3
setCustomFields()
S
77 1 4
getSeriesUniqueId()
S
81 1 3
setSeriesUniqueId()
S
77 1 4
getFirstInSeries()
S
82 1 3
setFirstInSeries()
S
77 1 4
getDateFrom()
S
82 1 3
setStaffIds()
S
77 1 4
getUnits()
S
82 1 3
setAppointmentId()
S
77 1 4
getAppointment()
S
79 1 3
getService()
S
79 1 3
getServicePrice()
S
71 1 5
getDepositPrice()
S
74 1 4
getStaffId()
S
79 1 3
getStaff()
S
79 1 3
isFirstSubService()
S
79 1 3
getAppointmentId()
S
82 1 3
getBookingNumber()
S
82 1 3
setNumberOfPersons()
S
77 1 4
setBookingNumber()
S
77 1 4
getLocationId()
S
82 1 3
setLocationId()
S
77 1 4
getServiceId()
S
82 1 3
setServiceId()
S
77 1 4
getStaffIds()
S
82 1 3
getData()
S
80 1 3
getNumberOfPersons()
S
82 1 3
setConsiderExtrasDuration()
S
77 1 4